<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ page import="org.limp.mine.annex.AnnexInfo"%>
<jsp:include page="../../system/head.jsp"></jsp:include>
<%
			String context = jt.classic.system.context.ISystemContext
			.getContextPath();

	AnnexInfo img = (AnnexInfo) request.getAttribute("img");
%>
<script>
<%if(img != null){%>
   parent.loadUploadImage({
       success : true,
       url : context + "/<%=img.getLinkString()%>"
   });  
<%}else{%>
    parent.loadUploadImage({
       success : false
   }); 
<%}%>
</script>
